{% load static %}
<script src="{% static 'js/Users/my_record.js'%}"></script>
<div class="container" id="showhistory">
	<div class="row">
		<div class="col">
			<ul class="nav nav-tabs" style="">
				<li class="nav-item">
					<a class="nav-link active" href="javascript:;">漫画</a>
				</li>
			</ul>
		</div>
	</div>
	<div class="row">
		{% for comic in comic_history %}
		<div class="col-2">
			<a href="{% url 'Comics:readingRoom' comic.readagain.cId comic.readagain.episode %} ">
				<figure class="figure">
					<img src="{{comic.commic.cCover}}" class="figure-img img-fluid rounded" alt="{{comic.commic.cName}}">
					<figcaption class="figure-caption text-center">
						<span>上次看到{{comic.commic.uCReading}}</span>
					</figcaption>
				</figure>
			</a>
		</div>
		{% endfor %}
	</div>
	<div class="row">
		<div class="col">
			<ul class="nav nav-tabs" style="">
				<li class="nav-item">
					<a class="nav-link active" href="javascript:;">小说</a>
				</li>
			</ul>
		</div>
	</div>
	<div class="row">
		{% for novel in novel_history %}
		<div class="col-2">
			<a href="{% url 'Novels:readingRoom' novel.readagain.fId novel.readagain.book %} ">
				<figure class="figure">
					<img src="{{novel.fiction.fCover}}" class="figure-img img-fluid rounded" alt="{{novel.fiction.fName}}">
					<figcaption class="figure-caption text-center">
						<span>上次看到{{novel.readagain.chapterName}}</span>
					</figcaption>
				</figure>
			</a>
		</div>
		{% endfor %}
	</div>
</div>
